object frmShowShip2Sale: TfrmShowShip2Sale
  Left = 0
  Top = 0
  ClientHeight = 559
  ClientWidth = 924
  Caption = #22791#36135#36716#20986#36135
  OldCreateOrder = False
  MonitoredKeys.Keys = <>
  OnCreate = UniFormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object UniToolBar1: TUniToolBar
    Left = 0
    Top = 0
    Width = 924
    Height = 45
    Hint = ''
    ButtonHeight = 45
    ButtonWidth = 60
    ShowCaptions = True
    TabOrder = 0
    ParentColor = False
    Color = clBtnFace
    object tbSearch: TUniToolButton
      Left = 0
      Top = 0
      Hint = ''
      ImageIndex = 10
      Caption = #26597#35810
      TabOrder = 4
      OnClick = tbSearchClick
    end
    object UniToolButton3: TUniToolButton
      Left = 60
      Top = 0
      Width = 8
      Hint = ''
      Style = tbsSeparator
      Caption = 'UniToolButton3'
      TabOrder = 5
    end
    object tbOK: TUniToolButton
      Left = 68
      Top = 0
      Hint = ''
      ImageIndex = 22
      Caption = #30830#23450
      TabOrder = 2
      OnClick = tbOKClick
    end
    object UniToolButton2: TUniToolButton
      Left = 128
      Top = 0
      Width = 8
      Hint = ''
      Style = tbsSeparator
      Caption = 'UniToolButton2'
      TabOrder = 3
    end
    object tbExit: TUniToolButton
      Left = 136
      Top = 0
      Hint = ''
      ImageIndex = 41
      Caption = #36864#20986
      TabOrder = 1
      OnClick = tbExitClick
    end
  end
  object UniPanel1: TUniPanel
    Left = 0
    Top = 45
    Width = 924
    Height = 75
    Hint = ''
    Align = alTop
    TabOrder = 1
    Caption = ''
    object edPartno: TUniEdit
      Left = 70
      Top = 10
      Width = 100
      Hint = ''
      Text = ''
      TabOrder = 1
    end
    object UniLabel1: TUniLabel
      Left = 16
      Top = 15
      Width = 48
      Height = 13
      Hint = ''
      Caption = #20135#21697#32534#21495
      TabOrder = 2
    end
    object edPartDesc2: TUniEdit
      Left = 270
      Top = 10
      Width = 100
      Hint = ''
      Text = ''
      TabOrder = 3
    end
    object UniLabel2: TUniLabel
      Left = 16
      Top = 45
      Width = 48
      Height = 13
      Hint = ''
      Caption = #20135#21697#21517#31216
      TabOrder = 4
    end
    object UniLabel3: TUniLabel
      Left = 216
      Top = 15
      Width = 48
      Height = 13
      Hint = ''
      Caption = #35268#26684#22411#21495
      TabOrder = 5
    end
    object UniLabel4: TUniLabel
      Left = 234
      Top = 45
      Width = 30
      Height = 13
      Hint = ''
      Caption = #25551#36848'3'
      TabOrder = 6
    end
    object edPartDesc1: TUniEdit
      Left = 70
      Top = 40
      Width = 100
      Hint = ''
      Text = ''
      TabOrder = 7
    end
    object edPartDesc3: TUniEdit
      Left = 270
      Top = 40
      Width = 100
      Hint = ''
      Text = ''
      TabOrder = 8
    end
    object cbShipDate: TUniCheckBox
      Left = 399
      Top = 13
      Width = 65
      Height = 17
      Hint = ''
      Caption = #22791#36135#26085#26399
      TabOrder = 9
      OnClick = cbShipDateClick
    end
    object dtpShipDateBeg: TUniDateTimePicker
      Left = 470
      Top = 10
      Width = 100
      Hint = ''
      Enabled = False
      DateTime = 43854.000000000000000000
      DateFormat = 'yyyy-MM-dd'
      TimeFormat = 'HH:mm:ss'
      TabOrder = 10
    end
    object dtpShipDateEnd: TUniDateTimePicker
      Left = 580
      Top = 10
      Width = 100
      Hint = ''
      Enabled = False
      DateTime = 43854.000000000000000000
      DateFormat = 'yyyy-MM-dd'
      TimeFormat = 'HH:mm:ss'
      TabOrder = 11
    end
    object dtpOrdDateEnd: TUniDateTimePicker
      Left = 580
      Top = 40
      Width = 100
      Hint = ''
      Enabled = False
      DateTime = 43854.000000000000000000
      DateFormat = 'yyyy-MM-dd'
      TimeFormat = 'HH:mm:ss'
      TabOrder = 12
    end
    object dtpOrdDateBeg: TUniDateTimePicker
      Left = 470
      Top = 40
      Width = 100
      Hint = ''
      Enabled = False
      DateTime = 43854.000000000000000000
      DateFormat = 'yyyy-MM-dd'
      TimeFormat = 'HH:mm:ss'
      TabOrder = 13
    end
    object cbOrdDate: TUniCheckBox
      Left = 399
      Top = 43
      Width = 65
      Height = 17
      Hint = ''
      Caption = #35746#21333#26085#26399
      TabOrder = 14
      OnClick = cbOrdDateClick
    end
  end
  object UniPanel2: TUniPanel
    Left = 0
    Top = 120
    Width = 924
    Height = 439
    Hint = ''
    Align = alClient
    TabOrder = 2
    Caption = ''
    object UniDBGrid1: TUniDBGrid
      Left = 1
      Top = 1
      Width = 922
      Height = 437
      Hint = ''
      DataSource = dsQuery
      ReadOnly = True
      LoadMask.Message = 'Loading data...'
      Align = alClient
      TabOrder = 1
      OnDblClick = UniDBGrid1DblClick
      Columns = <
        item
          FieldName = 'ship_no'
          Title.Alignment = taCenter
          Title.Caption = #22791#36135#21333#21495
          Width = 100
        end
        item
          FieldName = 'ship_date'
          Title.Alignment = taCenter
          Title.Caption = #22791#36135#26085#26399
          Width = 80
        end
        item
          FieldName = 'ship_site_flags'
          Title.Alignment = taCenter
          Title.Caption = #32452#32455
          Width = 60
        end
        item
          FieldName = 'shipd_ord_no'
          Title.Alignment = taCenter
          Title.Caption = #35746#21333#21495
          Width = 100
        end
        item
          FieldName = 'shipd_qty'
          Title.Alignment = taCenter
          Title.Caption = #22791#36135#25968#37327
          Width = 80
        end
        item
          FieldName = 'shipd_vol'
          Title.Alignment = taCenter
          Title.Caption = #22791#36135#20307#31215
          Width = 80
        end
        item
          FieldName = 'shipd_wts'
          Title.Alignment = taCenter
          Title.Caption = #22791#36135#37325#37327
          Width = 80
        end
        item
          FieldName = 'ship_adds_province'
          Title.Alignment = taCenter
          Title.Caption = #30465
          Width = 80
        end
        item
          FieldName = 'ship_adds_locality'
          Title.Alignment = taCenter
          Title.Caption = #24066
          Width = 80
        end
        item
          FieldName = 'ship_adds_county'
          Title.Alignment = taCenter
          Title.Caption = #21306
          Width = 80
        end
        item
          FieldName = 'ship_adds_address'
          Title.Alignment = taCenter
          Title.Caption = #22320#22336
          Width = 200
        end
        item
          FieldName = 'ship_flags'
          Title.Alignment = taCenter
          Title.Caption = #22791#36135#26631#35782
          Width = 64
        end
        item
          FieldName = 'shipd_ord_date'
          Title.Alignment = taCenter
          Title.Caption = #35746#21333#26085#26399
          Width = 80
        end
        item
          FieldName = 'shipd_ordd_qty'
          Title.Alignment = taCenter
          Title.Caption = #35746#21333#25968#37327
          Width = 80
        end
        item
          FieldName = 'shipd_part_no'
          Title.Alignment = taCenter
          Title.Caption = #20135#21697#32534#21495
          Width = 100
        end
        item
          FieldName = 'shipd_part_desc1'
          Title.Alignment = taCenter
          Title.Caption = #20135#21697#21517#31216
          Width = 200
        end
        item
          FieldName = 'shipd_part_desc2'
          Title.Alignment = taCenter
          Title.Caption = #35268#26684#22411#21495
          Width = 100
        end
        item
          FieldName = 'shipd_flags'
          Title.Alignment = taCenter
          Title.Caption = #34892#26631#35782
          Width = 50
        end
        item
          FieldName = 'ship_adds_attn'
          Title.Alignment = taCenter
          Title.Caption = #32852#31995#20154
          Width = 80
        end
        item
          FieldName = 'ship_adds_tel'
          Title.Alignment = taCenter
          Title.Caption = #30005#35805
          Width = 80
        end
        item
          FieldName = 'ship_adds_mobile'
          Title.Alignment = taCenter
          Title.Caption = #31227#21160#30005#35805
          Width = 80
        end
        item
          FieldName = 'ship_adds_fax'
          Title.Alignment = taCenter
          Title.Caption = #20256#30495
          Width = 80
        end
        item
          FieldName = 'ship_adds_email'
          Title.Alignment = taCenter
          Title.Caption = #37038#31665
          Width = 80
        end
        item
          FieldName = 'ship_rmk1'
          Title.Alignment = taCenter
          Title.Caption = #22791#27880'1'
          Width = 100
        end
        item
          FieldName = 'ship_rmk2'
          Title.Alignment = taCenter
          Title.Caption = #22791#27880'2'
          Width = 100
        end
        item
          FieldName = 'ship_create_user'
          Title.Alignment = taCenter
          Title.Caption = #21019#24314#29992#25143
          Width = 80
        end
        item
          FieldName = 'ship_create_time'
          Title.Alignment = taCenter
          Title.Caption = #21019#24314#26102#38388
          Width = 120
        end
        item
          FieldName = 'ship_confirm_user'
          Title.Alignment = taCenter
          Title.Caption = #30830#35748#20154
          Width = 80
        end
        item
          FieldName = 'ship_confirm_time'
          Title.Alignment = taCenter
          Title.Caption = #30830#35748#26102#38388
          Width = 120
        end
        item
          FieldName = 'shipd_part_desc3'
          Title.Alignment = taCenter
          Title.Caption = #25551#36848'3'
          Width = 100
        end
        item
          FieldName = 'shipd_part_unit'
          Title.Alignment = taCenter
          Title.Caption = #21333#20301
          Width = 50
        end
        item
          FieldName = 'shipd_part_vol'
          Title.Alignment = taCenter
          Title.Caption = #20135#21697#20307#31215
          Width = 80
        end
        item
          FieldName = 'shipd_part_wts'
          Title.Alignment = taCenter
          Title.Caption = #20135#21697#37325#37327
          Width = 80
        end>
    end
  end
  object zqSh2Sm: TZQuery
    Connection = UniMainModule.zDB
    SQL.Strings = (
      'select *'
      'from ship_mst as M, shipd_det as D'
      'where M.ship_snowflake = D.shipd_snowflake'
      '  and M.ship_flags = 1'
      '  and D.shipd_flags = 0')
    Params = <>
    Left = 344
    Top = 8
    object zqSh2Smship_snowflake: TLargeintField
      DisplayLabel = #22791#36135'ID'
      FieldName = 'ship_snowflake'
      Required = True
    end
    object zqSh2Smship_no: TWideStringField
      DisplayLabel = #22791#36135#21333#21495
      FieldName = 'ship_no'
      Required = True
      Size = 32
    end
    object zqSh2Smship_date: TDateField
      DisplayLabel = #22791#36135#26085#26399
      FieldName = 'ship_date'
    end
    object zqSh2Smship_site_flags: TIntegerField
      DisplayLabel = #32452#32455
      FieldName = 'ship_site_flags'
      Required = True
    end
    object zqSh2Smship_cli_snowflake: TLargeintField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'ship_cli_snowflake'
      Required = True
    end
    object zqSh2Smship_cli_no: TWideStringField
      DisplayLabel = #23458#25143#32534#21495
      FieldName = 'ship_cli_no'
      Required = True
      Size = 16
    end
    object zqSh2Smship_cli_name: TWideStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldName = 'ship_cli_name'
      Required = True
      Size = 64
    end
    object zqSh2Smship_cli_short_name: TWideStringField
      DisplayLabel = #31616#31216
      FieldName = 'ship_cli_short_name'
      Required = True
      Size = 24
    end
    object zqSh2Smship_area_snowflake: TLargeintField
      DisplayLabel = #29255#21306'ID'
      FieldName = 'ship_area_snowflake'
      Required = True
    end
    object zqSh2Smship_area_no: TWideStringField
      DisplayLabel = #29255#21306#32534#21495
      FieldName = 'ship_area_no'
      Required = True
      Size = 8
    end
    object zqSh2Smship_area_name: TWideStringField
      DisplayLabel = #29255#21306
      FieldName = 'ship_area_name'
      Required = True
      Size = 24
    end
    object zqSh2Smship_off_snowflake: TLargeintField
      DisplayLabel = #21150#20107#22788'ID'
      FieldName = 'ship_off_snowflake'
      Required = True
    end
    object zqSh2Smship_off_no: TWideStringField
      DisplayLabel = #21150#20107#22788#32534#21495
      FieldName = 'ship_off_no'
      Required = True
      Size = 8
    end
    object zqSh2Smship_off_name: TWideStringField
      DisplayLabel = #21150#20107#22788#21517#31216
      FieldName = 'ship_off_name'
      Required = True
      Size = 24
    end
    object zqSh2Smship_adds_snowflake: TLargeintField
      DisplayLabel = #22320#22336'ID'
      FieldName = 'ship_adds_snowflake'
    end
    object zqSh2Smship_adds_province: TWideStringField
      DisplayLabel = #30465
      FieldName = 'ship_adds_province'
      Size = 64
    end
    object zqSh2Smship_adds_locality: TWideStringField
      DisplayLabel = #24066
      FieldName = 'ship_adds_locality'
      Size = 64
    end
    object zqSh2Smship_adds_county: TWideStringField
      DisplayLabel = #21306
      FieldName = 'ship_adds_county'
      Size = 64
    end
    object zqSh2Smship_adds_address: TWideStringField
      DisplayLabel = #22320#22336
      FieldName = 'ship_adds_address'
      Size = 256
    end
    object zqSh2Smship_adds_attn: TWideStringField
      DisplayLabel = #32852#31995#20154
      FieldName = 'ship_adds_attn'
      Size = 32
    end
    object zqSh2Smship_adds_tel: TWideStringField
      DisplayLabel = #30005#35805
      FieldName = 'ship_adds_tel'
      Size = 32
    end
    object zqSh2Smship_adds_mobile: TWideStringField
      DisplayLabel = #31227#21160#30005#35805
      FieldName = 'ship_adds_mobile'
      Size = 32
    end
    object zqSh2Smship_adds_fax: TWideStringField
      DisplayLabel = #20256#30495
      FieldName = 'ship_adds_fax'
      Size = 32
    end
    object zqSh2Smship_adds_email: TWideStringField
      DisplayLabel = #37038#31665
      FieldName = 'ship_adds_email'
      Size = 32
    end
    object zqSh2Smship_adds_class: TIntegerField
      DisplayLabel = #22320#22336#31867#22411
      FieldName = 'ship_adds_class'
    end
    object zqSh2Smship_vol: TFloatField
      DisplayLabel = #20307#31215
      FieldName = 'ship_vol'
    end
    object zqSh2Smship_wts: TFloatField
      DisplayLabel = #37325#37327
      FieldName = 'ship_wts'
    end
    object zqSh2Smship_rmk1: TWideStringField
      DisplayLabel = #22791#27880'1'
      FieldName = 'ship_rmk1'
      Size = 256
    end
    object zqSh2Smship_rmk2: TWideStringField
      DisplayLabel = #22791#27880'2'
      FieldName = 'ship_rmk2'
      Size = 256
    end
    object zqSh2Smship_create_user: TWideStringField
      DisplayLabel = #21019#24314#29992#25143
      FieldName = 'ship_create_user'
      Size = 24
    end
    object zqSh2Smship_create_time: TDateTimeField
      DisplayLabel = #21019#24314#26102#38388
      FieldName = 'ship_create_time'
    end
    object zqSh2Smship_confirm_user: TWideStringField
      DisplayLabel = #30830#35748#20154
      FieldName = 'ship_confirm_user'
      Size = 24
    end
    object zqSh2Smship_confirm_time: TDateTimeField
      DisplayLabel = #30830#35748#26102#38388
      FieldName = 'ship_confirm_time'
    end
    object zqSh2Smship_flags: TIntegerField
      DisplayLabel = #22791#36135#26631#35782
      FieldName = 'ship_flags'
    end
    object zqSh2Smshipd_line_snowflake: TLargeintField
      DisplayLabel = #34892'ID'
      FieldName = 'shipd_line_snowflake'
      Required = True
    end
    object zqSh2Smshipd_snowflake: TLargeintField
      FieldName = 'shipd_snowflake'
      Required = True
    end
    object zqSh2Smshipd_ord_snowflake: TLargeintField
      DisplayLabel = #35746#21333'ID'
      FieldName = 'shipd_ord_snowflake'
      Required = True
    end
    object zqSh2Smshipd_ord_no: TWideStringField
      DisplayLabel = #35746#21333#21495
      FieldName = 'shipd_ord_no'
      Required = True
      Size = 32
    end
    object zqSh2Smshipd_ord_site_flags: TIntegerField
      DisplayLabel = #35746#21333#32452#32455
      FieldName = 'shipd_ord_site_flags'
      Required = True
    end
    object zqSh2Smshipd_ord_date: TDateField
      DisplayLabel = #35746#21333#26085#26399
      FieldName = 'shipd_ord_date'
    end
    object zqSh2Smshipd_ordd_line_snowflake: TLargeintField
      DisplayLabel = #35746#21333#34892'ID'
      FieldName = 'shipd_ordd_line_snowflake'
      Required = True
    end
    object zqSh2Smshipd_ordd_qty: TIntegerField
      DisplayLabel = #35746#21333#25968#37327
      FieldName = 'shipd_ordd_qty'
      Required = True
    end
    object zqSh2Smshipd_wh_snowflake: TLargeintField
      DisplayLabel = #20179#24211'ID'
      FieldName = 'shipd_wh_snowflake'
      Required = True
    end
    object zqSh2Smshipd_whd_snowflake: TLargeintField
      DisplayLabel = #20179#20301'ID'
      FieldName = 'shipd_whd_snowflake'
      Required = True
    end
    object zqSh2Smshipd_part_snowflake: TLargeintField
      DisplayLabel = #20135#21697'ID'
      FieldName = 'shipd_part_snowflake'
      Required = True
    end
    object zqSh2Smshipd_part_no: TWideStringField
      DisplayLabel = #20135#21697#32534#21495
      FieldName = 'shipd_part_no'
      Required = True
      Size = 24
    end
    object zqSh2Smshipd_part_desc1: TWideStringField
      DisplayLabel = #20135#21697#21517#31216
      FieldName = 'shipd_part_desc1'
      Required = True
      Size = 64
    end
    object zqSh2Smshipd_part_desc2: TWideStringField
      DisplayLabel = #35268#26684#22411#21495
      FieldName = 'shipd_part_desc2'
      Size = 64
    end
    object zqSh2Smshipd_part_desc3: TWideStringField
      DisplayLabel = #25551#36848'3'
      FieldName = 'shipd_part_desc3'
      Size = 64
    end
    object zqSh2Smshipd_part_unit: TWideStringField
      DisplayLabel = #21333#20301
      FieldName = 'shipd_part_unit'
      Size = 8
    end
    object zqSh2Smshipd_part_vol: TFloatField
      DisplayLabel = #20135#21697#20307#31215
      FieldName = 'shipd_part_vol'
    end
    object zqSh2Smshipd_part_wts: TFloatField
      DisplayLabel = #20135#21697#37325#37327
      FieldName = 'shipd_part_wts'
    end
    object zqSh2Smshipd_qty: TIntegerField
      DisplayLabel = #22791#36135#25968#37327
      FieldName = 'shipd_qty'
    end
    object zqSh2Smshipd_vol: TFloatField
      DisplayLabel = #22791#36135#20307#31215
      FieldName = 'shipd_vol'
    end
    object zqSh2Smshipd_wts: TFloatField
      DisplayLabel = #22791#36135#37325#37327
      FieldName = 'shipd_wts'
    end
    object zqSh2Smshipd_max_qty: TIntegerField
      FieldName = 'shipd_max_qty'
    end
    object zqSh2Smshipd_sale_qty: TIntegerField
      DisplayLabel = #38144#21806#25968#37327
      FieldName = 'shipd_sale_qty'
    end
    object zqSh2Smshipd_flags: TIntegerField
      DisplayLabel = #34892#26631#35782
      FieldName = 'shipd_flags'
    end
    object zqSh2Smship_total: TFloatField
      FieldName = 'ship_total'
    end
    object zqSh2Smship_dsc_tot: TFloatField
      FieldName = 'ship_dsc_tot'
    end
    object zqSh2Smship_final_tot: TFloatField
      FieldName = 'ship_final_tot'
    end
    object zqSh2Smshipd_price: TFloatField
      FieldName = 'shipd_price'
    end
    object zqSh2Smshipd_total: TFloatField
      FieldName = 'shipd_total'
    end
    object zqSh2Smshipd_discount: TFloatField
      FieldName = 'shipd_discount'
    end
    object zqSh2Smshipd_dsc_tot: TFloatField
      FieldName = 'shipd_dsc_tot'
    end
    object zqSh2Smshipd_final_tot: TFloatField
      FieldName = 'shipd_final_tot'
    end
    object zqSh2Smshipd_price_class: TIntegerField
      FieldName = 'shipd_price_class'
    end
    object zqSh2Smshipd_site_flags: TIntegerField
      DisplayLabel = #20135#21697#32452#32455
      FieldName = 'shipd_site_flags'
      Required = True
    end
  end
  object dsQuery: TDataSource
    DataSet = zqSh2Sm
    Left = 400
    Top = 8
  end
end
